$OpenBSD: patch-src_htmsocket_c,v 1.3 2012/07/13 12:55:07 sthen Exp $
--- src/htmsocket.c.orig	Sun Mar 14 20:24:05 2010
+++ src/htmsocket.c	Fri Jul 13 14:50:14 2012
@@ -9,7 +9,10 @@
 #include <unistd.h>
 #include <netdb.h>
 #include <errno.h>
+#include <sys/types.h>
 #include <sys/socket.h>
+#include <arpa/inet.h>
+#include <netinet/in.h>
 #include <sys/ioctl.h>
 
 #include "main.h"
